<style>
.headinfo {
    background: none;
}
.headinfo .mod-member {
    margin: 0 auto;
	margin-top: -60px;
    width: 94%;
	left:3%;
    padding: 6px 0 10px;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #f2f2f2;
}
.headinfo .mod-member .sign-btn{
    position: absolute;
    margin: 0 auto;
	top: -44px;
    width: 36px;
	height: 26px;
	right:16px;
    color:#fff;
	text-align:center;
	padding-top:3px;
    background: #4491F1;
}
.bottombg {bottom:-20px;width:100%;height:80px;border-bottom-right-radius:100% 40px;border-bottom-left-radius:100% 40px;}
.mod-group {
    margin: 0 auto;
	margin-top: 5px;
    width: 94%;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #f2f2f2;
}
.fui-icon-group .fui-icon-col-sm {
    margin:10px 0;
}
.badge {
    left: 2rem;
    top: 0;
}
</style>
<div class='fui-page fui-page-current'>
	<div class='fui-content member-page'>
		<div class="bottombg" style="background:{{main.syscolor || '#4491F1'}};"></div>
		<div class="headinfo" style="height:auto;">		
				<div class="mod-member">
					<div class="sign-btn" href="javascript:;" ng-click="access_json('core/member.qiandao/')" style="z-index:1;background:{{main.syscolor || '#4491F1'}};">签到</div>
						<div class="headinfo" style="background:none;padding:0;color:#999">
												<div class="child userinfo" style="padding-bottom:5px;color:#999;width:30%">
													<div class="face" style="margin-right:0.6rem;padding: 0.1rem;" href="javascript:;" ng-click="access_json('core/member.cavatar/')">
															<img ng-src="{{tomedia(pagedata.item.avatar) || '../core/resource/images/gw-user.png'}}" />
															<span class="vip" style="top: 2rem;background: {{main.syscolor || '#4491F1'}} none repeat scroll 0 0;"><i class="icon icon-vip5" style="font-size:0.5rem;padding-left:0.1rem"></i></span>
													</div>
												</div>
												<div class="child userinfo" style="padding-bottom:0;color:#999;width:70%;margin-left:-3rem;text-align:left;float:left">
													<div class="l bold" style="width:100%">{{pagedata.item.nickname}} （<span onclick="$('#show_vipcard').modal();"  style="color:{{main.syscolor || '#4491F1'}}"> {{pagedata.item.group}}</span>）</div>
													<div class="l">
														<div style="width:100%;font-size:12px" href="javascript:;" ng-click="access_json('jy_kexie/set/')">学校: {{pagedata.store.title}} <span style="color:{{main.syscolor || '#4491F1'}}">设置</span></div>
														<div ng-if="pagedata.item.viptime" style="font-size:12px">VIP到期时间:{{pagedata.item.viptime || '2019-12-18'}}</div>
													</div>
												</div>
						</div>
					</div>
		</div>
						<div ng-if="pagedata.is_worker>0" class="fui-cell-group fui-cell-click mod-group">
										<a class="fui-cell" href="javascript:;" ng-click="access_json('jy_kexie/worker.home/')">
											<div class="fui-cell-icon"><i class="icon icon-bangzhuzhongxin"></i></div>
											<div class="fui-cell-text">
												讲师入口
											</div>
											<div class="fui-cell-remark"></div>
										</a>
						</div>
						<div class="fui-cell-group fui-cell-click mod-group">
										<a class="fui-cell" href="javascript:;">
											<div class="fui-cell-icon"><i class="icon icon-set"></i></div>
											<div class="fui-cell-text">
												我的日常
												</div>
											<div class="fui-cell-remark"></div>
										</a>
										<div class="fui-icon-group col-4 selecter">
											<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('jy_kexie/mylesson_log/')">
												<div class="badge" ng-if="pagedata.statics.status0>0">{{pagedata.item.mycoupon}}</div>
												<div class="icon icon-green radius"><i class="icon icon-ship"></i></div>
												<div class="text">我的选课</div>
											</a>
											<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('jy_kexie/worker_list/')">
												<div class="badge" ng-if="pagedata.statics.status1>0">{{pagedata.statics.status1}}</div>
												<div class="icon icon-orange radius"><i class="icon icon-bangzhuzhongxin"></i></div>
												<div class="text">我的老师</div>
											</a>
											<!--<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('jy_kexie/order/')">
												<div class="badge" ng-if="pagedata.statics.status2>0">{{pagedata.statics.status2}}</div>
												<div class="icon icon-blue radius"><i class="icon icon-form"></i></div>
												<div class="text">我的报名</div>
											</a>-->
											<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('core/member.address/')">
												<div class="badge" ng-if="pagedata.statics.status4>0">{{pagedata.statics.status4}}</div>
												<div class="icon icon-pink radius"><i class="icon icon-position"></i></div>
												<div class="text">地址管理</div>
											</a>
											<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('core/article.list/')">
												<div class="badge" ng-if="pagedata.statics.status0>0">{{pagedata.statics.status0}}</div>
												<div class="icon icon-green radius"><i class="icon icon-help"></i></div>
												<div class="text">技术服务</div>
											</a>
										</div>
						</div>
						<div class="fui-cell-group fui-cell-click mod-group">
										<a class="fui-cell" href="javascript:;">
											<div class="fui-cell-icon"><i class="icon icon-jifen"></i></div>
											<div class="fui-cell-text">
												我的记录
												</div>
											<div class="fui-cell-remark"></div>
										</a>
										<div class="fui-icon-group col-4 selecter">
											<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('core/member.credit_log/')">
												<div class="badge" ng-if="pagedata.statics.status0>0">{{pagedata.statics.status0}}</div>
												<div class="icon icon-green radius"><i class="icon icon-jifen"></i></div>
												<div class="text">积分日志</div>
											</a>
											<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('core/member.credit_log/')">
												<div class="badge" ng-if="pagedata.statics.status0>0">{{pagedata.statics.status0}}</div>
												<div class="icon icon-green radius"><i class="icon icon-jiangjiatongzhi"></i></div>
												<div class="text">余额日志</div>
											</a>
											<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('core/member.cash_log/')">
												<div class="badge" ng-if="pagedata.statics.status0>0">{{pagedata.statics.status0}}</div>
												<div class="icon icon-green radius"><i class="icon icon-trade"></i></div>
												<div class="text">提现日志</div>
											</a>
											<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('core/member.red_log/')">
												<div class="badge" ng-if="pagedata.statics.status0>0">{{pagedata.statics.status0}}</div>
												<div class="icon icon-green radius"><i class="icon icon-ai-hongbao"></i></div>
												<div class="text">红包日志</div>
											</a>
										</div>
						</div>
						<div class="fui-cell-group fui-cell-click" style="background:none">
							<a class="fui-cell external changepwd" href="javascript:;" ng-click="access_json('core/member.cpassword/')">
								<div class="fui-cell-text" style="text-align: center;">修改密码</div>
							</a>
							<a class="fui-cell external btn-logout" ng-click="post_json('core/member.logout/')">
								<div class="fui-cell-text" style="text-align: center;">退出登录</div>
							</a>
						</div>
	</div>
</div>
<div id="show_vipcard"  class="modal fade" tabindex="-1" style="z-index:99999;display:none;">
		<div class="modal-dialog" style="top:30%;">
			<div class="memlogo-area" style="background:url({{tomedia(pagedata.item.cardbg) || '../core/resource/images/cardbg.png'}}) no-repeat 100%">
                    <div class="memlogo">
                        <img ng-src="{{tomedia(pagedata.item.avatar) || '../core/resource/images/gw-user.png'}}">
                    </div>
                    <div class="name">{{pagedata.item.nickname || '匿名'}}</div>
                    <br>
                    <div class="name">{{pagedata.item.mobile || '无手机号'}}</div>
                    <div class="code">
                        <img ng-src="{{tomedia(pagedata.account.logo) || '../core/resource/images/wxappicon.png'}}">
                    </div>
                    <div class="bot">
						<img id="barcode"/>
                        <span class="r-f">{{pagedata.item.group}}</span>
                    </div>
            </div>
		</div>
</div>
<div ng-include="sys_html('common/pluginnav',true)"></div>
<script>
require(['JsBarcode'],function(JsBarcode){
	//console.log('准备调用');
	JsBarcode('#barcode',scope.pagedata.item.barcode,{fontSize:36});
});
</script>